package foodmaterial.entity;

import javax.validation.constraints.NotEmpty;
import java.io.Serializable;

public class FoodMaterialUnit implements Serializable {

    private static final long serialVersionUID = -5885791765213726901L;
    private Long id ;
    private Integer pageNo ;
    private Integer pageSize ;
    @NotEmpty(message = "食材计量名称不能为空")
    private String name ;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public Integer getPageNo() {
        return pageNo;
    }

    public void setPageNo(Integer pageNo) {
        this.pageNo = pageNo;
    }

    public Integer getPageSize() {
        return pageSize;
    }

    public void setPageSize(Integer pageSize) {
        this.pageSize = pageSize;
    }
}
